[Unit]
Description=Mirror client service

[Service]
ExecStart=/bin/mirror client -h {{ hostvars[groups['server'] | first]['ansible_host'] }} -l {{ file_server_path }} -r {{ file_server_path }} --debug-all
User=nginx
Group=nginx
Type=simple

[Install]
WantedBy=multi-user.target